<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: I2C_InitTypeDef Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">I2C_InitTypeDef Struct Reference<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___i2_c.html">I2C</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>I2C Initial Configuration Structure definition.  
 <a href="struct_i2_c___init_type_def.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="wb32l003__i2c_8h_source.html">wb32l003_i2c.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a8ca57858382d3b202e576b3d25628b41"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_i2_c___init_type_def.html#a8ca57858382d3b202e576b3d25628b41">master</a></td></tr>
<tr class="separator:a8ca57858382d3b202e576b3d25628b41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ecf27a911a4f544415a4fefbe5f9103"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_i2_c___init_type_def.html#a3ecf27a911a4f544415a4fefbe5f9103">slave</a></td></tr>
<tr class="separator:a3ecf27a911a4f544415a4fefbe5f9103"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad505664bb31819abdd085f48d61d6356"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_i2_c___init_type_def.html#ad505664bb31819abdd085f48d61d6356">slaveAddr</a></td></tr>
<tr class="separator:ad505664bb31819abdd085f48d61d6356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4476124cfe53779bcb61149a13101af"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_i2_c___init_type_def.html#ae4476124cfe53779bcb61149a13101af">speedclock</a></td></tr>
<tr class="separator:ae4476124cfe53779bcb61149a13101af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1ade0e61c69c0cf36a9ba5fb0d24ed6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_i2_c___init_type_def.html#af1ade0e61c69c0cf36a9ba5fb0d24ed6">broadack</a></td></tr>
<tr class="separator:af1ade0e61c69c0cf36a9ba5fb0d24ed6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>I2C Initial Configuration Structure definition. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="af1ade0e61c69c0cf36a9ba5fb0d24ed6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1ade0e61c69c0cf36a9ba5fb0d24ed6">&#9670;&nbsp;</a></span>broadack</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t broadack</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Ack enable or disable when as slave. This parameter can be a value of <a class="el" href="group___i2_c___b_r_o_a_d.html">I2C_BROAD</a> </p>

</div>
</div>
<a id="a8ca57858382d3b202e576b3d25628b41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ca57858382d3b202e576b3d25628b41">&#9670;&nbsp;</a></span>master</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t master</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Master mode enable/disable. This parameter can be a value of <a class="el" href="group___i2_c___master___mode.html">I2C_Master_Mode</a> </p>

</div>
</div>
<a id="a3ecf27a911a4f544415a4fefbe5f9103"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ecf27a911a4f544415a4fefbe5f9103">&#9670;&nbsp;</a></span>slave</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t slave</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Slave mode enable/disable. This parameter can be a value of <a class="el" href="group___i2_c___slave___mode.html">I2C_Slave_Mode</a> </p>

</div>
</div>
<a id="ad505664bb31819abdd085f48d61d6356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad505664bb31819abdd085f48d61d6356">&#9670;&nbsp;</a></span>slaveAddr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t slaveAddr</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Slave address </p>

</div>
</div>
<a id="ae4476124cfe53779bcb61149a13101af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4476124cfe53779bcb61149a13101af">&#9670;&nbsp;</a></span>speedclock</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t speedclock</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>I2c speed clock set, speed=Pclk/(8*(baudcr+1)),uint khz </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="wb32l003__i2c_8h_source.html">wb32l003_i2c.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
